﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContactManagement
{
    /// <summary>
    /// Class ContactAddresses_MetaModel
    /// </summary>
    public class ContactAddresses_MetaModel
    {
        /// <summary>
        /// Gets or sets the address list.
        /// </summary>
        /// <value>The address list.</value>
        public List<SelectListItem> AddressList { get; set; }
        /// <summary>
        /// Gets or sets the address.
        /// </summary>
        /// <value>The address.</value>
        public Contact_ContactAddress_MetaModel Address { get; set; }
        /// <summary>
        /// Gets or sets the address properties.
        /// </summary>
        /// <value>The address properties.</value>
        public List<JSonModels.ContactAddress_JSonModel> AddressProperties { get; set; }
        /// <summary>
        /// Initializes a new instance of the <see cref="ContactAddresses_MetaModel"/> class.
        /// </summary>
        public ContactAddresses_MetaModel()
        {
            this.AddressList = new List<SelectListItem>();
            this.Address = new Contact_ContactAddress_MetaModel();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ContactAddresses_MetaModel"/> class.
        /// </summary>
        /// <param name="addresses">The addresses.</param>
        public ContactAddresses_MetaModel(List<SelectListItem> addresses)
        {
            this.AddressList = addresses;
            this.Address = new Contact_ContactAddress_MetaModel();
        }

    }
}